Partial with <%= partial :both, :with => @foo, :as => :first, :second => @bar %>